package com.lovo.redis.bean;




public class OrderBean {

    private String id;
    private String name;
    private String movieName;
    private Integer num;
    private Integer price;
    private String date;
    private String endDate;

    public OrderBean() {
    }

    public OrderBean(String name,Integer num, String movieName, Integer price, String date, String endDate) {
        this.name = name;
        this.num=num;
        this.movieName = movieName;
        this.price = price;
        this.date = date;
        this.endDate = endDate;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }



    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", movieName='" + movieName + '\'' +
                ", num=" + num +
                ", price=" + price +
                ", date=" + date +
                ", endDate=" + endDate +
                "}\n";
    }


}
